<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .content-section {
      width: 200px;
    }
    /* 第一个p的第一个字 */
    .content-section p:first-of-type::first-letter {
      color: red;
      /* 这个 float 就是处理文字的关键咯 */
      float: left;
      font-size: 4rem;
      line-height: 4vw;
      padding-right: 8px;
      /* border: 0.25em double; */
    }
  </style>
</head>

<body>
  <div class="content-section">
    <p>here we target the wrapper and select the p element. then append first-of-type and target first-letter
      specifically. you can then reuse the same option in other parts of your design by changing the wrapper variable
    </p>
  </div>
</body>

</html>